/*该index.css是用来美化首页的*/
/*初始化*/
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box; /*内减模式*/
}
li {
    list-style: none;
}
a {
    text-decoration: none;
}

/*清除浮动*/
.clearfix:before,.clearfix:after {
    content:".";
    visibility: hidden;
    height: 0;
    display: block; 
    clear: both;
}
.clearfix{
    *zoom: 1;
}

body{
    background-color: #f3f5f7;
}
/*版心宽度*/
.wrapper{
    width: 1200px;
    margin: 0 auto;
} 

.header{
    height: 42px;
    margin-top: 30px;
    margin-bottom: 30px;
}
/*logo*/
h1{
    float: left;
}
/*标题*/
.nav{
    margin-left: 70px;
    float: left;
    height: 42px;
}
.nav li{
    float: left;
    margin-left: 26px;
}
.nav li a{
    display: block;
    padding: 0 9px;
    height: 42px;
    line-height: 42px;
    
    font-size: 18px;
    color: #050505;
}
.nav li a:hover{
    border-bottom: 2px solid lightskyblue;
}
/*搜索框*/
.search{
    width: 412px;
    height: 40px;
    border: 1px solid #00a4ff;
    float: left;
    margin-left: 59px;
}
.search input{
    width: 360px;
    height: 38px;
    border: 0;
    padding-left: 20px;
    float: left;
}
.search input::placeholder{
    font-size: 14px;
    color: #bfbfbf;
}
.search #btn{
    width: 50px;
    height: 40px;
    background-image: url(../images/btn.png);
    border: 0;
}
/*用户名*/
.user{
    float: right;
    height: 40px;
    margin-right: 35px;
    line-height: 42px;
}
.user img{
    vertical-align: middle;
}

/*横幅广告*/
.banner{
    height: 420px;
    background-color: #1c036c;
}
.banner .wrapper{
    height: 420px;
    background-image: url(../images/bannar_03.png);
}

/*课程类型选项*/
.banner .left{
    float: left;
    width: 190px;
    height: 420px;
    padding: 0 20px;
    background-color: rgba(0,0,0,0.3);
    line-height: 44px;
}
.banner .left span{
    float: right;
}
.banner .left a{
    font-size: 14px;
    color: white;
}
.banner .left a:hover{
    color: #00b4ff;
}
/*学习进度*/
.banner .right{
    float: right;
    margin-top: 40px;
    width: 228px;
    height: 300px;
    background-color: #f3f5f7;
    border-radius: 10px;
}
.banner .right h2{
    height: 48px;
    background-color: #9bceea;
    text-align: center;
    line-height: 48px;
    font-size: 18px;
    color: white;
    border-radius: 10px 10px 0;
}
.banner .right .content{
    padding: 0 18px;
}
.banner .right dl{
    padding: 15px 0;
    border-bottom: 1px solid #050505;
}
.banner .right .content dt{
    font-size: 16px;
    color: #4e4e4e;
}
.banner .right .content dd{
    font-size: 14px;
    color: #4e4e4e;
}
.banner .right .more{
    display: block;
    width: 200px;
    height: 40px;
    border: 1px solid #00a4ff;
    margin: 4px auto 0;

    font-size: 16px;
    font-weight: 700;
    color: #00a4ff;
    text-align: center;
    line-height: 40px;
}

/*精品推荐*/
.goods{
    margin-top: 8px;
    padding-left: 34px;
    padding-right: 26px;
    height: 60px;
    background-color: #f3f5f7;
    box-shadow: 0 2px 3px 0
        rgba(118,118,118,0.2);
}
.goods h2{
    color: #00a4ff;
    font-size: 16px;
    float: left;
    line-height: 60px;
}
.goods ul{
    float: left;
    margin-left: 30px;
    line-height: 60px;
}
.goods ul li{
    float: left;
}
.goods li a{
    padding: 0 30px;
    border-left: 1px solid gainsboro;
    font-size: 16px;
    color: #050505;
}
.goods a{
    float: right;
    line-height: 60px;
}

/*课程*/
.course{
    margin-top:30px;
}
/*标题栏*/
.course .title{
    height: 40px;
}
.course .title h2{
    float: left;
    font-size: 20px;
    color: #494949;
    font-weight: bold;
}
.course .title a{
    float: right;
    margin-right: 30px;
    font-size: 12px;
    color: #a4a4a4;
}
/*课程内容框*/
.course .content li{
    float: left;
    width: 228px;
    height: 270px;
    margin-right: 15px;
    margin-bottom: 15px;
}
.course .content li:nth-child(5n){
    margin-right: 0;
}
.course .content h3{
    padding: 20px;
    font-size: 14px;
    color: #505050;
}
.course .content p{
    padding: 0 20px;
    font-size: 14px;
    color: #a4a4a4;
    font-weight: bold;
}
.course .content span{
    font-size: 14px;
    color: orange;
}

/*版权部分*/
.footer{
    margin-top: 40px;
    padding-top: 30px;
    height: 250px;
    background-color: white;
}
/*声明*/
.footer .left{
    float: left;
}
.footer .left p{
    margin: 20px 0 10px;
    font-size: 14px;
    color: #666;
}
.footer .left a{
    display: inline-block;
    width: 120px;
    height: 36px;
    border: 1px solid #00a4ff;
    font-size: 16px;
    color: #00b4ff;
    text-align: center;
    line-height: 36px;
}
/*其他链接*/
.footer .right{
    float: right;
}
.footer .right dl{
    float: right;
    margin-left: 120px;
}
.footer .right dl dt{
    margin-bottom: 5px;
    font-size: 16px;
}
.footer .right dl dd{
    font-size: 14px;
}